﻿using System;
using System.Collections;
using System.Collections.Generic;
using RVO;
using UnityEngine;
using Vector2 = UnityEngine.Vector2;

namespace NpcFramework
{
    public class RvoSimulator : MonoBehaviour
    {
        public float timeStep = 0.25f;

        public float neighborDist = 10f;
        
        
        private void Awake()
        {
            Simulator.Instance.setTimeStep(0.25f);
            Simulator.Instance.setAgentDefaults(15.0f, 10, 5.0f, 5.0f, 2.0f, 2.0f, new RVO.Vector2(0.0f, 0.0f));

            // add in awake
            Simulator.Instance.processObstacles();
        }
    }

}

